class AddActsAsAuthoredTables < ActiveRecord::Migration
  def self.up
    create_table :authorings do |t|
      t.integer :authored_id, :user_id
      t.string :authored_type
    end
    
  end

  def self.down
    drop_table :authorings
  end
end
9